Face Detection
Function:
face.detect(image, face_attributes, quality_detection)Description: detect and analyze the faces in pictures
Required parameter:
- image: picture after BASE64 conversion
Optional parameter:
- face_attributes: whether the face information needs to be returned. 0: no need to return; 1: need to return. (default value is 0)
- quality_detection: whether the quality detection is enabled. 0: off; 1: on. (default value is 0)
Return:
- result: face information in pictures
Example
result = face.detect(image=image) print(result)Detect and analyze the faces in pictures.